package com.zit.java.dao;

import com.zit.java.pojo.ReimburseMsg;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ReimburseMsgMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(ReimburseMsg record);

    int insertSelective(ReimburseMsg record);

    ReimburseMsg selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ReimburseMsg record);

    int updateByPrimaryKey(ReimburseMsg record);

    /**
     * 查询所有报销信息
     * @return
     */
    List<ReimburseMsg> selectAllReimburse();

    /**
     * 查询姓名和日期
     * @param name
     * @param
     * @return
     */
    List<ReimburseMsg> queryByNameAndDate(@Param("name") String name,@Param("date")String date);
}
